package com.tjl.warehouse.service;

import com.tjl.warehouse.model.AuthInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Tang
* @description 针对表【auth_info(权限表)】的数据库操作Service
* @createDate 2024-05-18 11:08:26
*/
public interface AuthInfoService extends IService<AuthInfo> {

    /**
     * 跟据用户id获取权限
     * @param userId 用户id
     * @return AuthInfo
     */
    List<AuthInfo> getAuthInfo(Integer userId);
}
